package org.example.bean.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;


/**
 * @author huangshen
 * @version 0.0.3
 * @description ExcelColumnName Excel列名注解
 * @since 2021/12/19 10:12
 */

@Retention(RUNTIME)
@Target({FIELD,PARAMETER})
public @interface ExcelColumn {
    String name() default "";
    int index() default 0;
}
